<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Preferences - Swing &gt; LookAndFeel</title>
<link href="../../../book.css" rel="stylesheet" type="text/css">
</head>

<body><h1>Preferences - Swing &gt; LookAndFeel</h1>
<table border="0" width="800" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<img src="images/preferences_lookandfeel.gif"><p>This page is used to control various 
		<b>Swing &gt; LookAndFeel</b> options.</p>
      <p>Any look and feel types listed on this page will show up in Designer's
      toolbar in the look and feel drop down list.</p>
      	<p>
		<img src="images/look_and_feel_drop_down.gif" align="top">&nbsp;&nbsp;
		<img src="images/look_and_feel_drop_down2.gif" width="315" height="264"></p>
		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<tr>
            <td height="274">
              <h4>Windows</h4>
              <p><img border="0" src="images/look_and_feel_windows.gif" width="317" height="217"><br>
            </td>
            <td height="274">
              <h4>Motif</h4>
              <p><img border="0" src="images/look_and_feel_motif.gif" width="312" height="215"><br>
            </td>
          	</tr>
			<tr>
            <td height="258">
              <h4>Metal</h4>
              <p><img border="0" src="images/look_and_feel_metal.gif" width="317" height="215"><br>
            </td>
            <td height="258">
              <h4>Liquid</h4>
              <p><img border="0" src="images/look_and_feel_liquid.gif" width="315" height="217"><br>
            </td>
          	</tr>
		</table>
      <p>You can add more looks by clicking on the
      <b>Add</b> button and specifying the look you want to add in the <b>Add
      LookAndFeel</b> dialog that appears.<span style="mso-spacerun: yes">&nbsp;
      To edit a look, select it and click on <b>Edit</b>. </span>To
      remove a look, select it click on <b>Remove</b>. To set a look as the
      default look used in Designer, select the look and click on the <b>Set Default</b> button.</p>
      <p><img border="0" src="images/add_look_and_feel.gif"></p>
      <h2>Apply chosen LookAndFeel in main() method</h2>
      <p>This preference determines whether Designer adds code to set the 
		selected Look and Feel in the main() method. For example:<blockquote>
		<p>try {<br>
&nbsp;&nbsp;&nbsp; 
		UIManager.setLookAndFeel(&quot;com.jgoodies.looks.windows.WindowsLookAndFeel&quot;);<br>
		} catch (Throwable e) {<br>
		}.</blockquote>
    	</td>
	</tr>
</table>

</body></html>